const { ExpressionIns: Expression } = require('./dist');

const exp = new Expression('a == 12');

console.log(exp.union('a == 13').toString()); // a == 12 || a == 13
console.log(exp.union('a ~ [1, 12]').toString()); // a ~ [1, 12]
console.log(exp.intersection('a in [1, 2, 13, 12]').toString()); // a == 12
console.log(exp.diff('a in [1, 2, 13, 12]').toString()); // EMPTY
console.log(exp.union('a != 12').toString()); // FULL
console.log(exp.not().toString()); //  a != 12
